<?php

namespace AdminPanel\ContentConfigBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * MapContentAttribute
 */
class MapContentAttribute
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $contentId;

    /**
     * @var integer
     */
    private $newsId;

    /**
     * @var integer
     */
    private $attributeId;

    /**
     * @var \DateTime
     */
    private $createdAt;

    /**
     * @var integer
     */
    private $createdUserId;

    /**
     * @var string
     */
    private $createdUserIp;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set contentId
     *
     * @param integer $contentId
     * @return MapContentAttribute
     */
    public function setContentId($contentId)
    {
        $this->contentId = $contentId;
    
        return $this;
    }

    /**
     * Get contentId
     *
     * @return integer 
     */
    public function getContentId()
    {
        return $this->contentId;
    }

    /**
     * Set newsId
     *
     * @param integer $newsId
     * @return MapContentAttribute
     */
    public function setNewsId($newsId)
    {
        $this->newsId = $newsId;
    
        return $this;
    }

    /**
     * Get newsId
     *
     * @return integer 
     */
    public function getNewsId()
    {
        return $this->newsId;
    }

    /**
     * Set attributeId
     *
     * @param integer $attributeId
     * @return MapContentAttribute
     */
    public function setAttributeId($attributeId)
    {
        $this->attributeId = $attributeId;
    
        return $this;
    }

    /**
     * Get attributeId
     *
     * @return integer 
     */
    public function getAttributeId()
    {
        return $this->attributeId;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return MapContentAttribute
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return MapContentAttribute
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set createdUserIp
     *
     * @param string $createdUserIp
     * @return MapContentAttribute
     */
    public function setCreatedUserIp($createdUserIp)
    {
        $this->createdUserIp = $createdUserIp;
    
        return $this;
    }

    /**
     * Get createdUserIp
     *
     * @return string 
     */
    public function getCreatedUserIp()
    {
        return $this->createdUserIp;
    }
}
